import request from '@/utils/request'

export function getSearchCardUser(data) {
  return request({
    url: '/SchedCard/SearchCardUser', // 刷卡，约课会员详情搜索
    method: 'post',
    data
  })
}

export function getCardUserCourse(data) {
  return request({
    url: '/SchedCard/CardUserCourse', // 刷卡约私教约团课
    method: 'post',
    data
  })
}

export function getGroupLessons(data) {
  return request({
    url: '/SchedCard/group_lessons', // 刷卡约私教约团课
    method: 'post',
    data
  })
}
export function getGroupLessonsPd(data) {
  return request({
    url: '/SchedCard/group_lessons_pd', // 刷卡约私教约团课
    method: 'post',
    data
  })
}
export function getGroupLessonsBu(data) {
  return request({
    url: '/SchedCard/group_lessons_bu', // 补刷卡
    method: 'post',
    data
  })
}
export function getCardPayMoeny(data) {
  return request({
    url: '/SchedCard/getCardPayMoeny', // 刷卡约私教约团课
    method: 'post',
    data
  })
}
export function getZdyLessons(data) {
  return request({
    url: '/SchedCard/get_zdy_lessons', // 自定义扣费
    method: 'post',
    data
  })
}
export function getZdyLessonsBu(data) {
  return request({
    url: '/SchedCard/get_zdy_lessons_bu', // 自定义扣费
    method: 'post',
    data
  })
}

